package com.sws.push.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sws.common.annotation.Excel;

/**
 * AI模型管理对象 ai_model_config
 * 
 * @author ruoyi
 * @date 2025-07-04
 */
public class AiModelConfig
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "模型名称", readConverterExp = "modelName.readConverterExp()")
    private String modelName;

    /** $column.columnComment */
    @Excel(name = "供应商", readConverterExp = "provider.readConverterExp()")
    private String provider;

    /** $column.columnComment */
    @Excel(name = "apiKey", readConverterExp = "apiKey.readConverterExp()")
    private String apiKey;

    /** $column.columnComment */
    @Excel(name = "baseUrl", readConverterExp = "baseUrl.readConverterExp()")
    private String baseUrl;

    /** $column.columnComment */
    @Excel(name = "model", readConverterExp = "model.readConverterExp()")
    private String model;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setModelName(String modelName) 
    {
        this.modelName = modelName;
    }

    public String getModelName() 
    {
        return modelName;
    }

    public void setProvider(String provider) 
    {
        this.provider = provider;
    }

    public String getProvider() 
    {
        return provider;
    }

    public void setApiKey(String apiKey) 
    {
        this.apiKey = apiKey;
    }

    public String getApiKey() 
    {
        return apiKey;
    }

    public void setBaseUrl(String baseUrl) 
    {
        this.baseUrl = baseUrl;
    }

    public String getBaseUrl() 
    {
        return baseUrl;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelName", getModelName())
            .append("provider", getProvider())
            .append("apiKey", getApiKey())
            .append("baseUrl", getBaseUrl())
            .append("model", getModel())
            .toString();
    }
}
